package com.zhentao.service;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.pojo.user.product.ChargeUserProduct;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
* @author Wl177
* @description 针对表【charge_user_product】的数据库操作Service
* @createDate 2025-01-05 19:11:20
*/
public interface ChargeUserProductService extends IService<ChargeUserProduct> {

    ResponseResult getProducts();

    ResponseResult addProduct(ChargeUserProduct product);

    ResponseResult updateProduct(ChargeUserProduct product);

    ResponseResult deleteProduct(Integer id);

    ResponseResult exchangeProdut(Integer id);

    ResponseResult getUserProducts();

    ResponseResult uploadImg(MultipartFile file);
}
